package com.learn.kotlinlearndemolist.model

import com.learn.kotlinlearndemolist.interfaces.Study

class Doctor : Person {
    var doctorName = ""
    var doctorLevel = 0
    lateinit var study: Study;


    constructor() : super()

    override fun toString(): String {
        study.read()
        return "Doctor(doctorName='$doctorName', doctorLevel=$doctorLevel)"
    }

}